#pragma once
#include <QVector>
#include <QString>
/*!\file exception.h
*/
/*!\brief enumeration of the types of errors*/
enum error {no_parent, empty, no_closing, no_opening, open_close, unordered_tree, zero, symbol,several_opening, no_tree, several_trees};
/*!
*\class exception exception.h
*\brief Class \ref exception which consists of the type of error and the values of nodes indicating the error
*/
class exception
{
public:
	/*!\brief Constructor by defaul*/
	exception(void);
	/*!\brief The type of error */
	error type;
	/*!\brief The values of nodes */
	QVector <QString> value;
};
